package com.elec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elec.domain.R;
import com.elec.domain.entity.UsageData;

/**
 * 存储用户的实时用电数据(UsageData)表服务接口
 *
 * @author yu
 * @since 2024-07-05 13:43:00
 */
public interface UsageDataService extends IService<UsageData> {

    R add(UsageData usageData);

    R delete(Long id);

    R update(UsageData usageData);

    R get(Long id);

    R getList(Integer pageNum, Integer pageSize, UsageData usageData);
}


